package com.delivery.vo;

import com.delivery.entity.SetmealDish;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel(description = "套餐响应VO")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SetmealVO {

    @ApiModelProperty(value = "分类ID", required = true, example = "101")
    private Long categoryId;

    @ApiModelProperty(value = "分类名称", required = true, example = "商务套餐")
    private String categoryName;

    @ApiModelProperty(value = "套餐描述", required = true, example = "经典商务组合")
    private String description;

    @ApiModelProperty(value = "套餐ID", required = true, example = "202")
    private Long id;

    @ApiModelProperty(value = "套餐图片", required = true, example = "meal.jpg")
    private String image;

    @ApiModelProperty(value = "套餐名称", required = true, example = "商务套餐A")
    private String name;

    @ApiModelProperty(value = "套餐价格", required = true, example = "50.00")
    private BigDecimal price;

    @ApiModelProperty(value = "本套餐菜品关系集合", required = true)
    private List<SetmealDish> setmealDishes;

    @ApiModelProperty(value = "最后更新时间", required = true, example = "2023-08-15 14:30:00")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态", required = true, example = "1")
    private Integer status;

}
